﻿#include "mainwindow.h"
#include "ui_mainwindow.h"

#include <AppKey/appkey.h>

#include <QMovie>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);

//    ui->lineEdit_Local->setText(AppKey::Instance()->get_SerialNumber());

//    QString data = QString("%1 days").arg(AppKey::Instance()->getDeadline());
//    ui->label_data->setText(data);


}

MainWindow::~MainWindow()
{
    delete ui;
}


void MainWindow::on_Bt_copy_clicked()
{
    //C:\Users\111\Pictures\Saved Pictures
//    QMovie *movie = new QMovie("C:/Users/111/Pictures/Saved Pictures/___5___.gif");
//    QSize size(ui->label->width(),ui->label->height());
//    movie->setScaledSize(size);

//    movie->start();         // 2. 启动动画
//    ui->label->setMovie(movie); // 1. 设置要显示的 GIF 动画图片
    //        ui->label->show();
}
